//
//  FGAppConfigure.h
//  AFNetworking
//
//  Created by HC101 on 2019/6/15.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@class FGAppConfigure;
/**    调用方法: kConfigure.xxx     */
#define kConfigure [NSObject fg_shareConfigure]


@protocol FGAppConfigureDelegate <NSObject>

//不实现使用默认配置
@optional

//color
- (UIColor *)textDarkColor;
- (UIColor *)textMiddleColor;
- (UIColor *)textLightColor;
- (UIColor *)lineColor;
- (UIColor *)tableBgGrayColor;
- (UIColor *)navigationItemColor;
- (UIColor *)baseVCBackgroundColor; //default whiteColor


//height
- (CGFloat)lineHeight;

//font
- (UIFont *)textDefaultFont;

//UIImage
- (UIImage *)cell_arrowRight;
- (UIImage *)navBack;

//FGRemindsView 全局相关设置
- (UIImage *)nonNetwork;
- (UIImage *)defaultRemindsIcon;
- (NSString *)defaultRemindsMsg;
- (CGFloat)defaultRemindsIconViewCenterYOffset;
- (CGFloat)defaultRemindsMsgTopSpace;


@end


//常用文字颜色
#define kTextDarkColor kConfigure.textDarkColor
#define kTextMiddleColor kConfigure.textMiddleColor
#define kTextLightColor kConfigure.textLightColor

//表格相关色
#define kLineHeight kConfigure.lineHeight
#define kLineColor kConfigure.lineColor
#define kTableBgGrayColor kConfigure.tableBgGrayColor


//字体配置
#define kTextDefaultFont kConfigure.textDefaultFont

//导航栏
#define kNavBarItemColor kConfigure.navigationItemColor





@interface FGAppConfigure : NSObject<FGAppConfigureDelegate>

@property (nonatomic, strong) id<FGAppConfigureDelegate> delegate;

/**    公共方法     */
- (id)dataForSelector:(SEL)selector defaultData:(id)data;

@end


@interface NSObject (FGAppConfigure)

/**    全局变量，不能暴露给外界直接访问     */
+ (FGAppConfigure *)fg_shareConfigure;

@end
